BarcodeDetector

constructor(context: Context, codeTypes: Collection<Barcode.Type>? = null)

Parameters

context

the application or activity context; only the application context is retained

codeTypes

the barcode formats to detect; null or empty selects all supported formats